package com.night.icm.model.base.comprehensive_test;

import com.night.icm.model.business.SystemFileDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * AcademicPointDTO
 *
 * @author Liao ZhiYong
 * @date 2020/2/5
 */
@ApiModel(description = "学业分")
@Data
public class AcademicPointDTO {

    @ApiModelProperty(position = 110, value = "学业分id，自增")
    private String id;

    @ApiModelProperty(position = 120, value = "学习成绩分，学习成绩=（必修课（含课程设计、实习）和专业选修课学分绩点之和÷相应学分之和+5）×9")
    @NotNull
    private Double academicRecord;

    @ApiModelProperty(position = 130, value = "奖励分，计算累计，需加分证明")
    @NotNull
    private Double rewardPoint;

    @ApiModelProperty(position = 140, value = "扣除分，计算累计，需核查是否瞒报")
    @NotNull
    private Double deductionPoint;

    @ApiModelProperty(position = 150, value = "学业分小计，未 *70%")
    @NotNull
    private Double academicTotal;

    @ApiModelProperty(position = 360, value = "附件列表")
    private List<SystemFileDTO> files;

    @ApiModelProperty(position = 500, value = "附件ID列表")
    private List<String> fileIds;

//    @ApiModelProperty(position = 240, value = "学业分附件")
//    private List<ComprehensiveScoreAttachDTO> attaches;
}